How to change certain pages into landscape/portrait mode 您所在的位置:网站首页 re changing metadata page orientation How to change certain pages into landscape/portrait mode

How to change certain pages into landscape/portrait mode

2023-04-13 18:55| 来源: 网络整理| 查看: 265

I landed on this page because I had a table that was too wide to be displayed on a portrait page. The problem with lscape or pdflscape for me is that they break the page at the exact location where the landscape page begins. That's not what I wanted. Instead, I used the answer here: Landscape figure in LaTeX

The rotating package offers two environments:

\begin{sidewaystable} ... \end{sidewaystable} \begin{sidewaysfigure} ... \end{sidewaysfigure}

If your table or figure is large enough, you also get a landscape page. The difference is that the page break will be at a natural point in your document, rather than exactly where you defined it (which may look ugly).

Note that this package is also compatible with twoside documents:

If the ‘twoside’ option has been given to the main document class (either explicitly, or implicitly as in the default for book class), the package will rotate sideways figures according to the page number (this requires at least two passes through LATEX).

For more details, see the package on CTAN.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有